Pearson Edexcel · A-Level · Statistics

    Course version: 9ST0 · Version from Sept 2017

    Difference between two binomial proportions

    Full specification wording

    Hypothesis testing for 1 and 2 samples: difference between two binomial proportions

    This topic covers testing whether two independent binomial populations have the same proportion of successes.

    • Point 4 of 4

    Study notes

    From the teaching notes for this specification point.

    The idea

    This topic covers testing whether two independent binomial populations have the same proportion of successes. You take a sample of size n₁ from the first population with x₁ successes, and a sample of size n₂ from the second with x₂ successes. The sample proportions are p̂₁ = x₁/n₁ and p̂₂ = x₂/n₂. Under the null hypothesis H₀: p₁ = p₂, you estimate the common proportion by pooling: p̂ = (x₁ + x₂)/(n₁ + n₂). The standard error is √[p̂(1 − p̂)(1/n₁ + 1/n₂)]. The test statistic is z = (p̂₁ − p̂₂) / √[p̂(1 − p̂)(1/n₁ + 1/n₂)], compared with the standard normal distribution. This normal approximation is valid when the expected counts are sufficiently large, typically n₁p̂, n₁(1 − p̂), n₂p̂ and n₂(1 − p̂) all at least 5. For a two-tailed test at 5%, reject H₀ when |z| > 1.96; for a one-tailed test, use the appropriate one-sided critical value.

    What earns the marks

    • States H₀ and H₁ correctly in terms of p₁ and p₂, for example H₀: p₁ = p₂ and H₁: p₁ ≠ p₂ for a two-tailed test.
    • Calculates the sample proportions p̂₁ = x₁/n₁ and p̂₂ = x₂/n₂ and the pooled proportion p̂ = (x₁ + x₂)/(n₁ + n₂).
    • Computes the test statistic z = (p̂₁ − p̂₂) / √[p̂(1 − p̂)(1/n₁ + 1/n₂)] with correct substitution.
    • Checks the validity condition that the expected counts n₁p̂, n₁(1 − p̂), n₂p̂ and n₂(1 − p̂) are all at least 5.
    • Compares the calculated z-value with the critical value from the standard normal distribution, or compares the p-value with the significance level, and concludes in context.

    Common mistakes and how to put them right

    • Using the unpooled standard error √[p̂₁(1 − p̂₁)/n₁ + p̂₂(1 − p̂₂)/n₂] when the null hypothesis assumes equal proportions.

      Put it right: The pooled estimate is required.

    • Forgetting to check the normality condition that all four expected counts are at least 5, which is needed for the z approximation to be valid.

    • Confusing the sample proportions p̂₁ and p̂₂ with the population proportions p₁ and p₂ in the hypotheses or conclusion.

    Exam tips

    • Define p₁ and p₂ clearly in context and state H₀ and H₁ before calculating.
    • Show the pooled proportion and the standard error calculation step by step to make the method clear.
    • State the critical value or p-value and write a conclusion that refers back to the original claim about the two proportions.

    Try the lesson

    The start of the Hypothesis testing for 1 and 2 samples: difference between two binomial proportions lesson, made from teaching notes for this specification point.

    Have a go first

    Two independent samples are taken to compare two binomial proportions. Sample A has 40 successes out of 100 trials, and sample B has 30 successes out of 100 trials. What is the value of the pooled estimate of the common proportion, p̂, used when testing for a difference between the two proportions?

    There is more to this lesson

    The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.

    Carry on with the full lesson

    5 free practice questions every day · Free forever · No card required

    Test your understanding of Hypothesis testing for 1 and 2 samples: difference between two binomial proportions

    Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.

    Take topic quiz

    5 free practice questions every day · Free forever · No card required